package com.yzjs.wx.request;

//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//


import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

@Root(
        name = "xml",
        strict = false
)
public class WxPayRefundRequest {
    @Element(
            name = "appid"
    )
    private String appid;
    @Element(
            name = "mch_id"
    )
    private String mchId;
    @Element(
            name = "nonce_str"
    )
    private String nonceStr;
    @Element(
            name = "sign"
    )
    private String sign;
    @Element(
            name = "sign_type",
            required = false
    )
    private String signType;
    @Element(
            name = "transaction_id",
            required = false
    )
    private String transactionId;
    @Element(
            name = "out_trade_no"
    )
    private String outTradeNo;
    @Element(
            name = "out_refund_no"
    )
    private String outRefundNo;
    @Element(
            name = "total_fee"
    )
    private Integer totalFee;
    @Element(
            name = "refund_fee"
    )
    private Integer refundFee;
    @Element(
            name = "refund_fee_type",
            required = false
    )
    private String refundFeeType;
    @Element(
            name = "refund_desc",
            required = false
    )
    private String refundDesc;
    @Element(
            name = "refund_account",
            required = false
    )
    private String refundAccount;

    public WxPayRefundRequest() {
    }

    public String getAppid() {
        return this.appid;
    }

    public String getMchId() {
        return this.mchId;
    }

    public String getNonceStr() {
        return this.nonceStr;
    }

    public String getSign() {
        return this.sign;
    }

    public String getSignType() {
        return this.signType;
    }

    public String getTransactionId() {
        return this.transactionId;
    }

    public String getOutTradeNo() {
        return this.outTradeNo;
    }

    public String getOutRefundNo() {
        return this.outRefundNo;
    }

    public Integer getTotalFee() {
        return this.totalFee;
    }

    public Integer getRefundFee() {
        return this.refundFee;
    }

    public String getRefundFeeType() {
        return this.refundFeeType;
    }

    public String getRefundDesc() {
        return this.refundDesc;
    }

    public String getRefundAccount() {
        return this.refundAccount;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public void setOutRefundNo(String outRefundNo) {
        this.outRefundNo = outRefundNo;
    }

    public void setTotalFee(Integer totalFee) {
        this.totalFee = totalFee;
    }

    public void setRefundFee(Integer refundFee) {
        this.refundFee = refundFee;
    }

    public void setRefundFeeType(String refundFeeType) {
        this.refundFeeType = refundFeeType;
    }

    public void setRefundDesc(String refundDesc) {
        this.refundDesc = refundDesc;
    }

    public void setRefundAccount(String refundAccount) {
        this.refundAccount = refundAccount;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof WxPayRefundRequest)) {
            return false;
        } else {
            WxPayRefundRequest other = (WxPayRefundRequest)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label167: {
                    Object this$appid = this.getAppid();
                    Object other$appid = other.getAppid();
                    if (this$appid == null) {
                        if (other$appid == null) {
                            break label167;
                        }
                    } else if (this$appid.equals(other$appid)) {
                        break label167;
                    }

                    return false;
                }

                Object this$mchId = this.getMchId();
                Object other$mchId = other.getMchId();
                if (this$mchId == null) {
                    if (other$mchId != null) {
                        return false;
                    }
                } else if (!this$mchId.equals(other$mchId)) {
                    return false;
                }

                label153: {
                    Object this$nonceStr = this.getNonceStr();
                    Object other$nonceStr = other.getNonceStr();
                    if (this$nonceStr == null) {
                        if (other$nonceStr == null) {
                            break label153;
                        }
                    } else if (this$nonceStr.equals(other$nonceStr)) {
                        break label153;
                    }

                    return false;
                }

                Object this$sign = this.getSign();
                Object other$sign = other.getSign();
                if (this$sign == null) {
                    if (other$sign != null) {
                        return false;
                    }
                } else if (!this$sign.equals(other$sign)) {
                    return false;
                }

                label139: {
                    Object this$signType = this.getSignType();
                    Object other$signType = other.getSignType();
                    if (this$signType == null) {
                        if (other$signType == null) {
                            break label139;
                        }
                    } else if (this$signType.equals(other$signType)) {
                        break label139;
                    }

                    return false;
                }

                Object this$transactionId = this.getTransactionId();
                Object other$transactionId = other.getTransactionId();
                if (this$transactionId == null) {
                    if (other$transactionId != null) {
                        return false;
                    }
                } else if (!this$transactionId.equals(other$transactionId)) {
                    return false;
                }

                label125: {
                    Object this$outTradeNo = this.getOutTradeNo();
                    Object other$outTradeNo = other.getOutTradeNo();
                    if (this$outTradeNo == null) {
                        if (other$outTradeNo == null) {
                            break label125;
                        }
                    } else if (this$outTradeNo.equals(other$outTradeNo)) {
                        break label125;
                    }

                    return false;
                }

                label118: {
                    Object this$outRefundNo = this.getOutRefundNo();
                    Object other$outRefundNo = other.getOutRefundNo();
                    if (this$outRefundNo == null) {
                        if (other$outRefundNo == null) {
                            break label118;
                        }
                    } else if (this$outRefundNo.equals(other$outRefundNo)) {
                        break label118;
                    }

                    return false;
                }

                Object this$totalFee = this.getTotalFee();
                Object other$totalFee = other.getTotalFee();
                if (this$totalFee == null) {
                    if (other$totalFee != null) {
                        return false;
                    }
                } else if (!this$totalFee.equals(other$totalFee)) {
                    return false;
                }

                label104: {
                    Object this$refundFee = this.getRefundFee();
                    Object other$refundFee = other.getRefundFee();
                    if (this$refundFee == null) {
                        if (other$refundFee == null) {
                            break label104;
                        }
                    } else if (this$refundFee.equals(other$refundFee)) {
                        break label104;
                    }

                    return false;
                }

                label97: {
                    Object this$refundFeeType = this.getRefundFeeType();
                    Object other$refundFeeType = other.getRefundFeeType();
                    if (this$refundFeeType == null) {
                        if (other$refundFeeType == null) {
                            break label97;
                        }
                    } else if (this$refundFeeType.equals(other$refundFeeType)) {
                        break label97;
                    }

                    return false;
                }

                Object this$refundDesc = this.getRefundDesc();
                Object other$refundDesc = other.getRefundDesc();
                if (this$refundDesc == null) {
                    if (other$refundDesc != null) {
                        return false;
                    }
                } else if (!this$refundDesc.equals(other$refundDesc)) {
                    return false;
                }

                Object this$refundAccount = this.getRefundAccount();
                Object other$refundAccount = other.getRefundAccount();
                if (this$refundAccount == null) {
                    if (other$refundAccount != null) {
                        return false;
                    }
                } else if (!this$refundAccount.equals(other$refundAccount)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof WxPayRefundRequest;
    }



    public String toString() {
        return "WxPayRefundRequest(appid=" + this.getAppid() + ", mchId=" + this.getMchId() + ", nonceStr=" + this.getNonceStr() + ", sign=" + this.getSign() + ", signType=" + this.getSignType() + ", transactionId=" + this.getTransactionId() + ", outTradeNo=" + this.getOutTradeNo() + ", outRefundNo=" + this.getOutRefundNo() + ", totalFee=" + this.getTotalFee() + ", refundFee=" + this.getRefundFee() + ", refundFeeType=" + this.getRefundFeeType() + ", refundDesc=" + this.getRefundDesc() + ", refundAccount=" + this.getRefundAccount() + ")";
    }
}

